#get current directory name, and replace space key with '-'
get_filename_component(CUR_PROJ_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
string(REPLACE " " "-" CUR_PROJ_NAME "${CUR_PROJ_NAME}")

project(${CUR_PROJ_NAME})

aux_source_directory(${${PROJECT_NAME}_SOURCE_DIR} ${PROJECT_NAME}_SRCS)

add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SRCS})

target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})
